package org.hnxxxy.ebms.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author WANGWEI
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ebms_student")
@ApiModel(value="Student对象", description="")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id")
    @TableId(value = "student_id", type = IdType.AUTO)
    private Integer studentId;

    @ApiModelProperty(value = "学生姓名")
    @ExcelProperty(value = "学生姓名")
    private String studentName;

    @ApiModelProperty(value = "学生QQ")
    @ExcelProperty(value = "学生QQ")
    private String studentQq;

    @ApiModelProperty(value = "学生电话")
    @ExcelProperty(value = "学生电话")
    private String studentPhone;

    @ApiModelProperty(value = "班级名称")
    @ExcelProperty(value = "班级名称")
    private String studentClass;

    @ApiModelProperty(value = "拟报专业")
    @ExcelProperty(value = "拟报专业")
    private String studnetMajor;

    @ApiModelProperty(value = "毕业中学")
    @ExcelProperty(value = "毕业中学")
    private String studentSchool;

    @ApiModelProperty(value = "招生学生id")
    private Integer recruitStuId;

    @ApiModelProperty(value = "是否已建立联系 0未联系 1已联系")
    private Boolean studentRelation;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private Boolean isDeleted;


}
